package com.lancer.anglsrv.tran;

//import java.io.IOException;

public class App {
    public static void main( String[] args ) {
        String curpath, fileNameWords, fileNameDict, fileNameIndex;
        curpath = System.getProperty("user.dir");
        fileNameWords = curpath + "/doc/glossary.txt";
        fileNameDict = curpath + "/doc/sample1/sample.dict";
        fileNameIndex = curpath + "/doc/sample1/sample.idx";
        //System.out.println(curpath);
        //System.out.println(fileNameWords);
                        
        Tran tran = new Tran();
        tran.translate(fileNameWords, fileNameDict, fileNameIndex);        
        tran.print();
    }
}
